#ifndef _INPUTSTREAM_H
#define	_INPUTSTREAM_H

namespace obj {

    class inputstream {
    public:
        virtual ~inputstream();
        virtual char next() = 0;
        virtual void restore(char c) = 0;
        virtual bool eof() = 0;
    };
}

#endif	/* _INPUTSTREAM_H */

